/*
	File:		CCreateSpreadLaserMessage.h
	Course:		SGD 1301
	Author:		Peter Nguyen
	Purpose:	Message to create a multiple laser entity
*/

#pragma once

#include "Message.h"

// Forward class declaration
class CEntity;


////////////////////////////////////////////////////////////
// CCreateLaserMessage class
//	- stores data to construct a laser entity
class CCreateSpreadLaserMessage : public CMessage
{
public:
	CCreateSpreadLaserMessage(CEntity* _pOwner, float fPosX, float fPosY, float fRotation );
	virtual ~CCreateSpreadLaserMessage( void );

	void Process( void ) const;

	// Accessors
	float		GetPosX		( void ) const	{	return m_fPosX;		}
	float		GetPosY		( void ) const	{	return m_fPosY;		}
	float		GetRotation	( void ) const	{	return m_fRotation;	}

private:
	CEntity*    m_pOwner;
	float		m_fPosX;
	float		m_fPosY;
	float		m_fRotation;
};

